package com.qijia.travel.app;

import java.math.BigDecimal;

import com.qijia.travel.domain.RewardProfit;
import com.qijia.travel.domain.StatisticsPojo;

public class SecondGuideTypeCounter implements RewardCounter{

	public BigDecimal countReward(StatisticsPojo detail,
			RewardProfit rewardProfit) {
		/*
		 * 个人应得 = 个人总创利 + 个人总奖励
		 */
		return detail.getTotal().setScale(2, BigDecimal.ROUND_HALF_UP);
	}

}
